Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to elasticsearch/create_mapping.py related to nested quality-metrics/qc_values #303

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dmichaels-harvard
Copy link
Contributor

@dmichaels-harvard dmichaels-harvard commented Aug 17, 2024

  • Changes to elasticsearch/create_mapping.py related to support nested quality-metrics/qc_values
    for smaht-portal; appliy fallthru logic for create_mapping.schema_mapping if the type does
    not match any other itemized type there; e.g. for ['boolean', 'integer', 'number', 'string']
    for the quality-metrics/qc_values/value type.
  • Change to schema_utils.py/get_identifying_and_required_properties to handle (possibly)
    required properties within an allOf within an anyOf, specifically for the Analyte
    properties rna_integrity_number and rna_integrity_number_instrument, which are
    required only if molecule is RNA.

Copy link
Member

@willronchetti willronchetti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could benefit from simpler test for anyOf behavior, also test should be added for schema_mapping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants